<template>
	<div id="app">
		<!-- <router-link to="/">登录页面</router-link>
		<br>
		<router-link to="/main">主页面</router-link> -->
		<!-- 路由出口 -->
		<router-view></router-view>
	</div>
</template>

<script>
	const Main = () => import('./views/Main.vue')

	export default {
		name: 'App',
		components: {
			Main
		}
	}
</script>

<style>
	#app {
		font-family: Avenir, Helvetica, Arial, sans-serif;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-align: center;
		color: #2c3e50;
		height: 100%;
	}
</style>
